package com.iweb.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private Integer userID;
    private String userPhone;
    private String userName;
    private Integer userAge;
    private String userSex;
    private Double userMoney;
    private String password;
    private Integer powerId;
    private Integer cid;


    public User() {
    }

    public User(Integer userID, String userPhone, String userName, Integer userAge, String userSex, Double userMoney, String password, Integer powerId, Integer cid) {
        this.userID = userID;
        this.userPhone = userPhone;
        this.userName = userName;
        this.userAge = userAge;
        this.userSex = userSex;
        this.userMoney = userMoney;
        this.password = password;
        this.powerId = powerId;
        this.cid = cid;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public Double getUserMoney() {
        return userMoney;
    }

    public void setUserMoney(Double userMoney) {
        this.userMoney = userMoney;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getPowerId() {
        return powerId;
    }

    public void setPowerId(Integer powerId) {
        this.powerId = powerId;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    @Override
    public String toString() {
        return "User{" +
                "userID=" + userID +
                ", userPhone='" + userPhone + '\'' +
                ", userName='" + userName + '\'' +
                ", userAge=" + userAge +
                ", userSex='" + userSex + '\'' +
                ", userMoney=" + userMoney +
                ", password='" + password + '\'' +
                ", powerId=" + powerId +
                ", cid=" + cid +
                '}';
    }
}
